package com.approval.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 角色权限分配请求DTO
 */
@Data
public class RolePermissionAssignRequest {
    
    @NotNull(message = "角色ID不能为空")
    private Long roleId;
    
    @NotNull(message = "权限ID列表不能为空")
    private List<Long> permissionIds;
    
    // Getter and Setter methods
    public Long getRoleId() {
        return roleId;
    }
    
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
    
    public List<Long> getPermissionIds() {
        return permissionIds;
    }
    
    public void setPermissionIds(List<Long> permissionIds) {
        this.permissionIds = permissionIds;
    }
}
